package org.reenscape.skill;
import org.reenscape.model.*;
import org.reenscape.lib.*;
import org.reenscape.updater.*;
public class Prayer {


		public boolean bury(int id, int slot, PacketParser p3){
			switch(id){
				case 526:			bury(id, slot, 4.5, p3);			break; //Normal
				case 2859:			bury(id, slot, 4.5, p3);			break; //Wolf(cunt)
				case 528:			bury(id, slot, 4.5, p3);			break; //Burnt
				case 3183:			bury(id, slot, 5, p3);				break; //Monkey
				case 530:			bury(id, slot, 5.25, p3);			break; //Bat
				case 532:			bury(id, slot, 15, p3);				break; //Big
				case 3125:			bury(id, slot, 15, p3);				break; //Jogre
				case 4812:			bury(id, slot, 22.5, p3);			break; //Zogre
				case 3123:			bury(id, slot, 25, p3);				break; //Shaikahan
				case 534:			bury(id, slot, 30, p3);				break; //Babydragon (not sure why its not spaced like baby dragon... whatever)
				case 6812:			bury(id, slot, 50, p3);				break; //Wyvern
				case 536:			bury(id, slot, 72, p3);				break; //Dragon
				case 4830:			bury(id, slot, 87, p3);				break; //Fayrg
				case 4832:			bury(id, slot, 96, p3);				break; //Raurg
				case 6729:			bury(id, slot, 125, p3);			break; //Dagannoth
				case 4834:			bury(id, slot, 140, p3);			break; //Ourg
				default:		return false;
			}
			return true;
		}

		
		public void bury(int id, int slot, double xp, PacketParser p3){
			p3.Animation(0x33B);
			p3.deleteItem(id, slot, 1);
			p3.addSkillXP(xp, Skill.PRAYER);
			p3.sendMessage("You bury the bones.");
		}
}